/* eslint-disable no-shadow */

export type WebSocketConfig = {
  url: string | URL;
  protocols?: string | string[];
  heartbeatTimeout?: number;
  reconnInterval?: number;
  binaryType?: 'arraybuffer' | 'blob';
};

export enum TioCommand {
  HeartbeatReq = 1,
  // 添加其他命令...
}
